<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <base th:href="${#request.getContextPath()}+'/'">
    <title>人事档案明细</title>
    <link rel="stylesheet" type="text/css" href="layui/dist/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="css/面试结果登记.css" />
    <link rel="icon" type="image/png" href="icon/I.png">
    <script src="layui/src/layui.js" type="text/javascript" charset="utf-8"></script>
</head>
<style>
    table tr th{
        text-align: center !important;
        font-weight: bold !important;
    }
    tr td{
        text-align: center
    }
</style>
<body style="background: rgb(241, 241, 241) !important;">
<div style="width: 98%; margin: 0 auto">
<table class="layui-table" th:each="v:${per}">
    <colgroup>
        <col width="150">
        <col width="200">
        <col>
    </colgroup>
<form class="layui-form">
    <tr>
        <td>所属部门:</td>
        <td><input type="text" class="layui-input" th:value="${v.getDepartment()}" readonly="readonly"></td>
        <td>档案状态:</td>
        <td>
            <div class="layui-form">
                <select class="status" name="status">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getStatus()}" value="试用期" readonly="readonly">试用期</option>
                    <option th:selected="${v.getStatus()}" value="正式员工" readonly="readonly">正式员工</option>
                    <option th:selected="${v.getStatus()}" value="离职" readonly="readonly">离职</option>
                    <option th:selected="${v.getStatus()}" value="已删除" readonly="readonly">已删除</option>
                    <option th:selected="${v.getStatus()}" value="实习员工" readonly="readonly">实习员工</option>
                </select>
            </div>
        </td>
        <td>职位名称:</td>
        <td><input type="text" class="layui-input" th:value="${v.getPosition()}" readonly="readonly"></td>
    </tr>

    <tr>
        <td>职位编码:</td>
        <td><input type="text" class="layui-input" th:value="${v.getPersonnelid()}" readonly="readonly"></td>
        <td>姓名:</td>
        <td><input type="text" class="layui-input" th:value="${v.getName()}" readonly="readonly"></td>
        <td>性别:</td>
        <td>
            <div class="layui-form">
                <select class="sex" name="sex">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getSex()}" value="男" readonly="readonly">男</option>
                    <option th:selected="${v.getSex()}" value="女" readonly="readonly">女</option>
                </select>
            </div>
        </td>

    </tr>
    <tr>
        <td>EMAIL:</td>
        <td><input type="text" class="layui-input" th:value="${v.getEmail()}" readonly></td>
        <td>联系电话:</td>
        <td><input type="text" class="layui-input" th:value="${v.getPohone()}" readonly></td>
        <td>住址:</td>
        <td colspan="3"><input type="text" class="layui-input" th:value="${v.getAddress()}" readonly></td>
    </tr>

    <tr>
        <td>身份证号:</td>
        <td><input type="text" class="layui-input" th:value="${v.getCardid()}" readonly></td>
        <td>户口所在地:</td>
        <td><input type="text" class="layui-input" th:value="${v.getOriginalHome()}" readonly></td>
        <td>政治面貌:</td>
        <td><input type="text" class="layui-input" th:value="${v.getPoliticsStatus()}" readonly></td>
    </tr>
    <tr>
        <td>毕业院校:</td>
        <td><input type="text" class="layui-input" th:value="${v.getSchool()}" readonly></td>
        <td>专业:</td>
        <td><input type="text" class="layui-input" th:value="${v.getSpecialty()}" readonly></td>
        <td>学历:</td>
        <td>
            <div class="layui-form">
                <select class="educationBackground" name="educationBackground">
                    <option value="">&#45;&#45;请选择&#45;&#45;
                    <option th:selected="${v.getEducationBackground()}" value="专科" readonly="readonly">专科</option>
                    <option th:selected="${v.getEducationBackground()}" value="本科" readonly="readonly">本科</option>
                    <option th:selected="${v.getEducationBackground()}" value="硕士" readonly="readonly">硕士</option>
                    <option th:selected="${v.getEducationBackground()}" value="博士" readonly="readonly">博士</option>
                </select>
            </div>

        </td>
    </tr>
    <tr>
        <td>薪酬标准:</td>
        <td>

            <div class="layui-form">
                <select class="salary" name="salary">
                <option value="">&#45;&#45;请选择&#45;&#45;
                <option th:selected="${v.getSalary()}" value="高级软件工程师" readonly="readonly">高级软件工程师</option>
                <option th:selected="${v.getSalary()}" value="中级软件工程师" readonly="readonly">中级软件工程师</option>
                <option th:selected="${v.getSalary()}" value="初级软件工程师" readonly="readonly">初级软件工程师</option>
            </select>
            </div>

        </td>
        <td>开户行:</td>
        <td><input type="text" class="layui-input" th:value="${v.getOpeningBank()}" readonly></td>
        <td>银行卡号:</td>
        <td><input type="text" class="layui-input" th:value="${v.getCardNumbers()}" readonly></td>
    </tr>
    <tr>
        <td>社保卡号:</td>
        <td><input type="text" class="layui-input" th:value="${v.getSocialNumbers()}" readonly></td>
        <td>登记人:</td>
        <td><input type="text" class="layui-input" th:value="${v.getRegistrant()}" readonly></td>
        <td>建档时间:</td>
        <td><input type="date" class="layui-input" th:value="${#dates.format(v.getInputtingTime(),'yyyy-MM-dd')}" readonly></td>
    </tr>
    <tr>
        <td>个人履历：</td>
        <td colspan="5">
            <textarea class="layui-input" rows="4" th:text="${v.getCurriculumVitae()}" readonly></textarea>
        </td>
    </tr>
    <tr>
        <td>家庭关系信息：</td>
        <td colspan="5">
            <textarea class="layui-input" rows="4" th:text="${v.getFamilyInformation()}" readonly></textarea>
        </td>
    </tr>
    <tr>
        <td>备注：</td>
        <td colspan="5">
            <textarea class="layui-input" rows="4" th:text="${v.getComment()}" readonly></textarea>
        </td>
    </tr>
    <tr>
        <td>简历附件：</td>
        <!--<td colspan="5"><input type="file" th:value="${v.getAttachment()}" readonly/></td>-->
        <td colspan="5"><span th:text="${v.getAttachment()}"></span></td>
    </tr>
    <tr>
        <td colspan="6" align="center">
            <div class="layui-btn-container">
                <button type="button" class="layui-btn layui-btn-normal" onclick="location.href='人事档案管理'">返回</button>
            </div>
        </td>
    </tr>
</form>
</table>
<script>
    layui.use('form', function () {
        var form = layui.form;

    });
</script>
</div>
</body>
</html>
